﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;

namespace LULSMS_WServices
{
    /// <summary>
    /// Summary description for UsersInfoService
    /// </summary>
    [WebService(Namespace = "http://LULSMS/UsersInfoService")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class UsersInfoService : System.Web.Services.WebService
    {
        
        [WebMethod]
        public List<LULSMS_Lib.User> getSpecialistActivePatients(string userName, string password)
        {
            return LULSMS.Patients.getSpecialistActivePatients(userName, password);
        }

        [WebMethod]
        public List<LULSMS_Lib.User> getSpecialistPatients(string userName, string password)
        {
            return LULSMS.Patients.getSpecialistPatients(userName, password);
        }

        [WebMethod]
        public List<LULSMS_Lib.User> getActivePatients(string userName, string password)
        {
            return LULSMS.Patients.getActivePatients(userName, password);
        }

        [WebMethod]
        public List<LULSMS_Lib.User> getPatients(string userName, string password)
        {
            return LULSMS.Patients.getPatients(userName, password);
        }

        [WebMethod]
        public LULSMS_Lib.User getPatient(string patientUserName, string userName, string password)
        {
            return LULSMS.Patients.getPatient(patientUserName, userName, password);
        }
    }
}
